// router/index.js
import Vue from 'vue'
import VueRouter from 'vue-router'
import { routes } from '@/router/routers'
Vue.use(VueRouter)

const router = new VueRouter({
  // 引入路由
  routes
})
export default router
